<script setup lang="ts">
import useHomeStore from '~/store/home';

const homeStore = useHomeStore();
const { navbars } = storeToRefs(homeStore)
homeStore.fetchHomeData('oppo')
</script>

<template>
<div class="layout">
  <app-header></app-header>
  <navbar :navbars="navbars"></navbar>
  <slot></slot>
  <app-footer></app-footer>
</div>
</template>

<style scoped lang="scss">

</style>